import ViewMain from '@/views/ViewMain.vue';
import ViewRecoIdeaDetail from '@/views/ViewRecoIdeaDetail.vue';
import ToolDate from '@/views/ToolDate.vue';
import { createRouter, createWebHistory } from 'vue-router';

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'ViewMain',
      component: ViewMain,
    },
    {
      path: '/ViewRecoIdeaDetail/:param',
      name: 'ViewRecoIdeaDetail',
      component: ViewRecoIdeaDetail,
    },
    {
      path: '/ToolDate',
      name: 'ToolDate',
      component: ToolDate,
    },
  ],
});

export default router;
